From: Florian Fainelli Date: Sat, 8 Mar 2014 00:56:59 +0000 (+0000) Subject: imsnif: use TARGET_CFLAGS X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=6bf1053335b20c4bb78ea8bea52ceabae1bc2313;p=openwrt%2Fsvn-archive%2Fpackages.git imsnif: use TARGET_CFLAGS TARGET_CFLAGS contains all the ABI specific information we might need, make sure this gets passed to the g++ compiler Signed-off-by: Florian Fainelli SVN-Revision: 39809 --- diff --git a/net/imsnif/Makefile b/net/imsnif/Makefile index 35eb64fc1..f10174918 100644 --- a/net/imsnif/Makefile +++ b/net/imsnif/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008-2011 OpenWrt.org +# Copyright (C) 2008-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=imsnif PKG_VERSION:=0.04 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE_URL:=@SF/im-snif PKG_SOURCE:=$(PKG_NAME)f_$(PKG_VERSION).tgz @@ -36,7 +36,7 @@ define Package/imsnif/description endef define Build/Compile - $(TARGET_CXX) $(TARGET_CPPFLAGS) -fno-rtti -I$(LINUX_DIR)/include \ + $(TARGET_CXX) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -fno-rtti -I$(LINUX_DIR)/include \ -o $(PKG_BUILD_DIR)/src/imsnif \ $(PKG_BUILD_DIR)/src/imsniff.cpp \ $(PKG_BUILD_DIR)/src/util.cpp \